package com.asset.common.pageform;

import java.util.List;

/**
 * <p>
 * todo 描述
 * </p>
 *
 * @author 牧之
 * @date 2024/6/26 23:53
 */
public class PageForm<T> {


    private Integer pageNum;
    private Integer pageSize;
    private Integer total;   // 总记录数
    private List<T> dataList; // 泛型数据类型


    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public int getTotal() {
        return total;
    }
}
